﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ModifySpecialPlanDetail.aspx.cs"
    Inherits="SpecialPlan_ModifySpecialPlanDetail" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>修改专项分解计划</title>
    <link href="../App_Themes/css/main_css.css" rel="stylesheet" type="text/css" />
    <script src="../Js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
        <!--
        function Masterdepartment(str) {
            window.open('../WebCommon/Department.aspx?SID=' + str, '', 'width=700,height=580,top=200, left=300');
        }
        -->    
       
    </script>
    <script type="text/javascript" language="javascript">
        <!--
        function department(str) {
            var MonthPlanId = 1;
            window.open('../WebCommon/DepartmentSlave.aspx?SID=' + str + '&PlanType=2&PlanId=' + MonthPlanId + '', '', 'width=700,height=580,top=80, left=250');
        }
        -->      
    </script>
    <script type="text/javascript" language="javascript">
        function userinfo(str) {
            window.open('../WebCommon/UserInfo.aspx?SID=' + str, '', 'width=700,height=580,top=150, left=300');
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
        <table border="0" cellpadding="0" cellspacing="1" style="background-color: #d0d0ce"
            width="100%">
            <tr style="height: 50px; background-color: #ffffff">
                <td align="center" class="PlanModifyTableHeader" style="width: 4%">
                    计划编号
                </td>
                <td align="center" class="PlanModifyTableHeader" style="width: 7%;" valign="middle">
                    开始时间
                </td>
                <td align="center" class="PlanModifyTableHeader" style="width: 7%" valign="middle">
                    完成时间
                </td>
                <td align="center" class="PlanModifyTableHeader" style="width: 14%" valign="middle">
                    计划名称
                </td>
                <td align="center" class="PlanModifyTableHeader" style="width: 7%" valign="middle">
                    前置任务
                </td>
                <td align="center" class="PlanModifyTableHeader" style="width: 7%" valign="middle">
                    责任部门
                </td>
                <td align="center" class="PlanModifyTableHeader" style="width: 7%" valign="middle">
                    责任人
                </td>
                <td align="center" class="PlanModifyTableHeader" style="width: 7%" valign="middle">
                    配合部门
                </td>
                <td align="center" class="PlanModifyTableHeader" style="width: 12%" valign="middle">
                    配合部门责任
                </td>
                <td align="center" class="PlanModifyTableHeader" style="width: 7%" valign="middle">
                    评估人
                </td>
                <td align="center" class="PlanModifyTableHeader" style="width: 7%" valign="middle">
                    优先级
                </td>
                <td align="center" class="PlanModifyTableHeader" style="width: 7%" valign="middle">
                    备注
                </td>
                <td class="PlanModifyTableHeader" style="width: 6%" align="center">
                    操作
                </td>
            </tr>
            <tr style="height: 50px; background-color: #ffffff">
                <td style="width: 4%">
                    <input id="txtSpecialPlanSortId" runat="server" style="width: 90%" type="text" />
                </td>
                <td align="center" valign="middle" style="width: 7%">
                    <asp:TextBox ID="txtStartTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" SkinID="textboxSkin" Width="95%"></asp:TextBox> 
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="txtStartTime"
                        Display="Dynamic" ErrorMessage="日期类型不正确" Operator="DataTypeCheck" Type="Date"
                        Width="0px"></asp:CompareValidator>
                </td>
                <td align="center" valign="middle" style="width: 7%">
                    <asp:TextBox ID="txtCompleteTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" SkinID="textboxSkin" Width="95%"></asp:TextBox>
                    <asp:CompareValidator ID="CompareValidator2" runat="server" ControlToValidate="txtCompleteTime"
                        Display="Dynamic" ErrorMessage="日期类型不正确" Operator="DataTypeCheck" Type="Date"
                        Width="16px"></asp:CompareValidator>
                    
                </td>
                <td align="center" valign="middle" style="width: 14%">
                    <asp:TextBox ID="txtWorkItem" runat="server" Height="40px" SkinID="textboxMultiLineSkin"
                        TextMode="MultiLine" Width="90%"></asp:TextBox>
                </td>
                <td align="center" valign="middle" style="width: 7%">
                    <asp:TextBox ID="txtPreposeTask" runat="server" Height="17px" 
                        SkinID="textboxSkin" Width="90%"></asp:TextBox>
                </td>
                <td align="center" valign="middle" style="width: 7%">
                    <asp:TextBox ID="txtMasterDepartment" runat="server" Enabled="False" SkinID="textboxSkin"
                        Width="90%"></asp:TextBox>
                </td>
                <td align="center" valign="middle" style="width: 7%">
                    <input id="txtMasterPeople" runat="server" style="width: 60%" type="text" readonly="readOnly" /><a
                        href="#" onclick="javascript:userinfo(parentNode.firstChild.id );"><img alt="" border="0"
                            src="../images/addpages.jpg" /></a>
                </td>
                <td align="center" valign="middle" style="width: 7%">
                    <input id="txtSlaveDepartment" runat="server" style="width: 60%" type="text" readonly="readOnly" /><a
                        href="#" onclick="javascript:department(parentNode.firstChild.id );"><img alt=""
                            border="0" src="../images/addpages.jpg" /></a>
                </td>
                <td align="center" valign="middle" style="width: 12%">
                    <asp:TextBox ID="txtSlaveDepartmentDuty" runat="server" Height="40px" SkinID="textboxMultiLineSkin"
                        TextMode="MultiLine" Width="90%"></asp:TextBox>
                </td>
                <td align="center" valign="middle" style="width: 8%">
                    <input id="txtEvaluatePeople" runat="server" style="width: 60%" type="text" readonly="readOnly" /><a
                        href="#" onclick="javascript:userinfo(parentNode.firstChild.id );"><img alt="" border="0"
                            src="../images/addpages.jpg" /></a>
                </td>
                <td align="center" valign="middle" style="width: 7%">
                    <asp:DropDownList ID="drpPriorityLevel" Width="90%" runat="server">
                        <asp:ListItem>一般</asp:ListItem>
                        <asp:ListItem>较急</asp:ListItem>
                        <asp:ListItem>紧急</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td align="center" valign="middle" style="width: 7%">
                    <asp:TextBox ID="txtRemark" runat="server" Height="40px" SkinID="textboxMultiLineSkin"
                        TextMode="MultiLine" Width="90%"></asp:TextBox>
                </td>
                <td align="center" valign="middle" style="width: 6%">
                    <asp:Button ID="btnModify" runat="server" OnClick="btnModify_Click" SkinID="buttonSkin"
                        Text="修改" Width="90%" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
